
tree         { width: 30em; }
treecol.name { width: 8em; }
treecol.menu { width: 3em; }

prefwindow[mode="simple"] .advanced {
    visibility: collapse;
    opacity: 0;
    transition: opacity 0.8s, visibility 0.7s;
}

prefwindow[mode="simple"] .advanced.placeholder {
    visibility: hidden;
}

prefwindow[mode="advanced"] .advanced {
    visibility: visible;
    opacity: 1;
    transition: opacity 1s, visibility 1s;
}

row         { -moz-box-align: center; }
hbox.center { -moz-box-align: center; }
hbox.top    { -moz-box-align: start; }

treechildren::-moz-tree-checkbox(checked) {
    list-style-image: url(chrome://global/skin/checkbox/cbox-check.gif);
}

treechildren::-moz-tree-cell-text(type-recent),
treechildren::-moz-tree-cell-text(type-item) {
    font-style: italic;
}

button[disabled="true"] image.button-icon,
menu[disabled="true"] image,
menuitem[disabled="true"] image {
    opacity: 0.5;
}

button.accesskey {
    font-size: smaller;
    min-width: 0;
}

button.accesskey > hbox {
    min-width: 1em;
}

button[dlgtype="extra2"] {
    list-style-image: url("icons/prefs.png");
}

button.add image.button-icon,
menu.add {
    list-style-image: url(icons/add.png);
}

button.edit,
menuitem.edit {
    list-style-image: url(icons/edit.png);
}

button.remove,
menuitem.remove {
    list-style-image: url(icons/remove.png);
}

button.up {
    list-style-image: url(icons/up.png);
}

button.down {
    list-style-image: url(icons/down.png);
}

menuitem.folder {
    list-style-image: url(icons/folder.png);
}

menuitem.separator {
    list-style-image: url(icons/separator.png);
}

menuitem.recent {
    list-style-image: url(icons/recent.png);
}

menuitem.openPrefs {
    list-style-image: url(icons/prefs.png);
}
